// +---------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +---------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------

import BasicLayout from '@/components/main';

const pre = 'driver_';

export default {
  path: '/admin/driver',
  name: 'driver',
  header: 'driver',
  redirect: {
    name: `${pre}list`,
  },
  component: BasicLayout,
  children: [
    {
      path: 'list',
      name: `${pre}list`,
      meta: {
        auth: ['admin-driver-list'],
        title: '司机管理',
      },
      component: () => import('@/pages/driver/driverList/index'),
    },
	{
	  path: 'audi',
	  name: `${pre}audi`,
	  meta: {
	    auth: ['admin-driver-audi'],
	    title: '审核管理',
	  },
	  component: () => import('@/pages/driver/audiList/index'),
	},
	{
	  path: 'vip',
	  name: `${pre}vip`,
	  meta: {
	    auth: ['admin-driver-vip'],
	    title: '会员管理',
	  },
	  component: () => import('@/pages/driver/vip/index'),
	}
  ],
};
